package com.ssy.lingxi.order.model.constant;

/**
 *  订单配置-业务类型枚举
 * @author ds
 * @date 2022/2/17
 * @version 2.0.0
 */
public enum BaseOrderConfigEnum {
    /**
     * 积分抵扣订单金额
     */
    DEDUCTION_SCORE_OF_ORDER(1, "积分抵扣订单金额"),

    /**
     * 满额包邮
     */
    FREE_EXPRESS_CONDITION(2, "满额包邮"),
    ;

    BaseOrderConfigEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    /**
     * 操作枚举值
     */
    private Integer code;

    /**
     * 操作方法
     */
    private String name;

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
